from google.appengine.ext import db

class Course(db.Model):
	faculty = db.StringProperty()
	is_open_book = db.BooleanProperty()
	title = db.StringProperty()
	time = db.StringProperty()
	duration = db.StringProperty()
	venue = db.StringProperty()
	views = db.IntegerProperty()

	@staticmethod
	def emptydatastore():
		db.delete(Course.all())